home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- if the hilite of cast "b_tg2" = 1 then
- set the hilite of cast "b_tg2" to 0
- end if
- if field "sermodnum" = "1." then
- if the hilite of cast "b_brk3" = 1 then
- alert("You cannot specify 1 Series Brakes with Thread Guards")
- set the hilite of cast "b_brk3" to 0
- set the hilite of cast "b_tg1" to 0
- set the hilite of cast "b_tg2" to 0
- end if
- end if
- if the hilite of cast "b_fsi" = 1 then
- alert("You cannot specify Thread Guards with NSF listed casters")
- set the hilite of cast "b_brk3" to 0
- set the hilite of cast "b_tg1" to 0
- set the hilite of cast "b_tg2" to 0
- set the hilite of cast "b_fsi" to 0
- end if
- if field "Tblcaste,WHEELDES" contains "Steel" then
- alert("You cannot specify Thread Guards with Metal Casters")
- set the hilite of cast "b_tg1" to 0
- set the hilite of cast "b_tg2" to 0
- end if
- end
-